﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GN.Pay.Core.Entities;

namespace GN.Pay.Core.Services.Impl
{
    /// <summary>
    /// 
    /// </summary>
    public class NullPayNotifyService : IPayNotifyService
    {
        /// <summary>
        /// 获取实例
        /// </summary>
        public static NullPayNotifyService Instance { get; } = new NullPayNotifyService();

        /// <summary>
        /// 
        /// </summary>
        /// <param name="tradeNotify"></param>
        /// <returns></returns>
        public Task NotifySuccess(TradeNotify tradeNotify)
        {
            return Task.FromResult(0);
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="tradeNotify"></param>
        /// <returns></returns>
        public Task PaySuccess(TradeNotify tradeNotify)
        {
            return Task.FromResult(0);
        }
    }
}
